package com.jishuo.nontax.bfc.dao;

import com.jishuo.nontax.bean.message.efisc.EpayFiscVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author :hanlipeng
 * @description :
 * @create :2022-12-22 14:07:00
 */
@Mapper
public interface EpayFiscMapper {

    List<EpayFiscVO> listFisc(@Param("billNum") String billNum, @Param("payBankDt") String payBankDt, @Param("accountCode") String accountCode);

    int getPayFiscCount(String billNum);

    int insertPayFisc(EpayFiscVO vo);

    int updatePayFisc(EpayFiscVO vo);

    int setCheck(EpayFiscVO vo);

    int setCheckFail(EpayFiscVO vo);

    int setBackPay(EpayFiscVO vo);

    int setPayment(EpayFiscVO vo);

    EpayFiscVO getFisc(String billNum);

    List<EpayFiscVO> listFiscByDate(@Param("bankid")int bankid,@Param("payBankDt") String payBankDt,@Param("paymentDate")String paymentDate,@Param("backTime")String backTime);

    int createfisccheck_5_1(@Param("bankid") int bankid,@Param("paybankdt") String paybankdt);
}
